package com.joysuch.wwyt.risk.mapper;

import com.joysuch.wwyt.risk.entity.RiskControllevels;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author heqifeng
 * @since 2021-08-31
 */
@Mapper
public interface RiskControllevelsMapper extends BaseMapper<RiskControllevels> {

    Long getMaxCode(@Param("tenentId") Long tenentId, @Param("orgCode") String orgCode);

    String findNameByCode(@Param("code") Long code,@Param("tenentId") Long tenentId, @Param("orgCode") String orgCode);

}
